import React from 'react';
import { TouchableOpacity } from 'react-native';
import Ionicons from 'react-native-vector-icons/Ionicons';

export default function ReloadButton({ callBack }) {
  return (
    <TouchableOpacity
      onPress={callBack}
      style={{ padding: 8, paddingRight: 12 }}
    >
      <Ionicons
        name="ios-refresh"
        size={26}
        color="white"
      />
    </TouchableOpacity>
  );
}
